SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1e6d6808acb9745462b91aec8b35bf0b7d394f1b3cb74237ea394b7ed9d013d5}Faro{1e6d6808acb9745462b91aec8b35bf0b7d394f1b3cb74237ea394b7ed9d013d5}' OR prCity = 'Faro' OR prZip = 'Faro' OR prStreet LIKE '{1e6d6808acb9745462b91aec8b35bf0b7d394f1b3cb74237ea394b7ed9d013d5}Faro{1e6d6808acb9745462b91aec8b35bf0b7d394f1b3cb74237ea394b7ed9d013d5}' OR prCountry = 'Faro') AND (prLocation LIKE '{1e6d6808acb9745462b91aec8b35bf0b7d394f1b3cb74237ea394b7ed9d013d5}Portogallo{1e6d6808acb9745462b91aec8b35bf0b7d394f1b3cb74237ea394b7ed9d013d5}' OR prCity = 'Portogallo' OR prZip = 'Portogallo' OR prStreet LIKE '{1e6d6808acb9745462b91aec8b35bf0b7d394f1b3cb74237ea394b7ed9d013d5}Portogallo{1e6d6808acb9745462b91aec8b35bf0b7d394f1b3cb74237ea394b7ed9d013d5}' OR prCountry = 'Portogallo')